package io.renren.modules.avanotes.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.avanotes.entity.ReviewScheduleEntity;

import java.util.Map;

/**
 * 复习计划表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-27 21:55:28
 */
public interface ReviewScheduleService extends IService<ReviewScheduleEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageOrderByDay(Map<String, Object> params);

    PageUtils queryPageByToday(Map<String, Object> params);

    /**
     * 复习打卡
     *
     * @param id
     */
    void attend(Long id, Integer q);
}

